﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace FILSTARTUPS_MOBILE.Models
{
    public class Forum
      {
          public int forumidPK { get; set; }
          public string forumtitle { get; set; }
          public DateTime datecreated { get; set; }
          public string forumdescription { get; set; }
      }
    public class ForumReplies
    {
        public int forumthreadidFK { get; set; }
        public string membername { get; set; }
        public int forumreplyidPK { get; set; }
 
        
        [Required(ErrorMessage = "This field is required")]
        [DataType(DataType.Html)]
        [UIHint("Html")]
        [AllowHtml]
        [Display(Name = "Description")]
        public string replydescription { get; set; }

      
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        public DateTime datereplied { get; set; }
    }
    public class ForumReply
    {
        [Key]
        public int forumreplyidPK { get; set; }

  
        public int forumthreadidFK { get; set; }
        
   
        public int memberidFK { get; set; }

        [Required(ErrorMessage="This field is required")]
        [Column]
        [DataType(DataType.Html)]
        [UIHint("Html")]
        [AllowHtml]
        [Display(Name="Description")]
        public string replydescription { get; set; }

        [Column]
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        public DateTime datereplied { get; set; }
    }
    public class ForumReport
    {
        [Key]
        public int forumreportidPK { get; set; }
       

        public int forumthreadidFK { get; set; }
        

        public int forumreplyidFK { get; set; }
      
        [Display(Name="Report Message")]
        [Column]
        [Required(ErrorMessage="Report Message is required")]
        public string reportmessage { get; set; }

        [Column]
        [DisplayFormat(DataFormatString = "{0:MMMM d, yyyy}")]
        public DateTime datereported { get; set; }
    }
}